package com.atguigu.daijia.rules.client;

import com.atguigu.daijia.common.result.Result;
import com.atguigu.daijia.model.form.rules.FeeRuleRequestForm;
import com.atguigu.daijia.model.vo.rules.FeeRuleResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.awt.datatransfer.Clipboard;

@FeignClient(value = "service-rules")
public interface FeeRuleFeignClient {
/**
 * 订单费用计算
 * @param feeRuleRequestForm
 * @return
 */
@PostMapping("/rules/fee/calculateOrderFee")
    Result<FeeRuleResponseVo>caculateOrderFee(@RequestBody FeeRuleRequestForm feeRuleRequestForm);



}